package io.sdl.common.sys.service;

import io.sdl.common.service.CrudService;
import io.sdl.common.sys.dto.SdlDoctorsDTO;
import io.sdl.common.sys.entity.SdlDoctorsEntity;
import io.sdl.common.sys.vo.SdlDoctorsVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;


/**
 * 
 *
 * @author Dc 1211734836@qq.com
 * @since 1.0.0 2025-03-28
 */
public interface SdlDoctorsService extends CrudService<SdlDoctorsEntity, SdlDoctorsDTO> {

    //根据手机号获取专家信息
    SdlDoctorsEntity findByPhone(String phone);

    //证书保存
    Integer saveUploadedFile(MultipartFile file, Long id);


    List<SdlDoctorsVo> findAll(Map<String, Object> params);

    //获取专家详情
    SdlDoctorsVo getDetail(Long id);
}